-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/frontend mbr gbr foolproof mechanism #123
Feat/frontend mbr gbr foolproof mechanism #123
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Alonza0314 ,
I am unfamiliar with the zod
package, but I think there is a way to add the validation in the type schema instead of creating another validation code.
Maybe you can try zod refine
in Google search(? ( I'm not sure XD)
I've checked the DTO schema which all of them are written via |
Hi, @andy89923, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add friendly alert for MBR should be greater than GBR(both subscription and profile).